SQLRetCode Property (Remote Data)

       

Returns the ODBC error return code from the most recent RDO operation.

Syntax

object.SQLRetCode

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Return Values

The SQLRetCode property return value is a Long value that corresponds to one of the following constants:

Constant Value Description
rdSQLSuccess 0 The operation is successful.
rdSQLSuccessWithInfo 1 The operation is successful, and additional information is available.
rdSQLNoDataFound 100 No additional data is available.
rdSQLError -1 An error occurred performing the operation.
rdSQLInvalidHandle -2 The handle supplied is invalid.